package com.yunxi.sys.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sys.pojo.CountryVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2019-05-21
 */
public interface CountryDubboService {

    CountryVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(CountryVO countryVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<CountryVO> findPageByVO(CountryVO countryVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByList(List<CountryVO> countryVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVO(CountryVO countryVO);
}
